package com.peas.platform.module.icims.base.mdm.service;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.peas.platform.framework.mybatisplus.service.BaseService;
import com.peas.platform.module.icims.base.mdm.dto.FileDto;

import java.util.List;
import java.util.zip.ZipOutputStream;

public interface FileService extends BaseService<FileDto> {

    List<FileDto> findFileListByDir(OrderItem order, FileDto condition);

    boolean moves(List<Long> ids, Long parentId);

    void zipFiles(List<FileDto> list, ZipOutputStream fileOutputStream, String parentFileName);

}
